#include<iostream>
#include<list>
#include<deque>

using namespace std;
int main(){
	list<int> aList = { 1,2,5,7,8};
	cout<<aList.empty()<<endl;
	
	deque<int> de = {1,2,3,5,7,8,9};
	cout<< de[3]<<endl;
	cout<< de.at(2)<<endl;
}
